package org.jeecg.modules.smg.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Author 小坏
 * @Date 2020/12/9 14:16
 * @Version 1.0
 * @program: 父工程 jeecg-boot-parent 万物起源之地
 */

@Data
@TableName("smg_apply")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "smg_apply", description = "两节_证件申请信息表")
public class SmgApply {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "id")
    private java.lang.String id;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
    /**
     * 创建日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
    /**
     * 更新日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
    /**
     * 申请账号
     */
    @Excel(name = "申请账号", width = 15)
    @ApiModelProperty(value = "申请账号")
    private java.lang.String aid;
    /**
     * 审核账号
     */
    @Excel(name = "审核账号", width = 15)
    @ApiModelProperty(value = "审核账号")
    private java.lang.String auditor;
    /**
     * 审核时间
     */
    @Excel(name = "审核时间", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "审核时间")
    private java.util.Date suditdate;
    /**
     * 工作单位
     */
    @Excel(name = "工作单位", width = 15)
    @ApiModelProperty(value = "工作单位")
    private java.lang.String oid;
    /**
     * 申请证件类别编号
     */
    @Excel(name = "申请证件类别编号", width = 15)
    @ApiModelProperty(value = "申请证件类别编号")
    private java.lang.String cid;
    /**
     * 可通行区域
     */
    @Excel(name = "可通行区域", width = 15, dicCode = "smg_region")
    @Dict(dicCode = "smg_region")
    @ApiModelProperty(value = "可通行区域")
    private java.lang.String areas;
    /**
     * 性别
     */
    @Excel(name = "性别", width = 15, dicCode = "sex")
    @Dict(dicCode = "sex")
    @ApiModelProperty(value = "性别")
    private java.lang.String sex;
    /**
     * 身份证类别
     */
    @Excel(name = "身份证类别", width = 15, dicCode = "idtype")
    @Dict(dicCode = "idtype")
    @ApiModelProperty(value = "身份证类别")
    private java.lang.String idtype;
    /**
     * 身份证号
     */
    @Excel(name = "身份证号", width = 15)
    @ApiModelProperty(value = "身份证号")
    private java.lang.String idcard;
    /**
     * 姓名
     */
    @Excel(name = "姓名", width = 15)
    @ApiModelProperty(value = "姓名")
    private java.lang.String name;
    /**
     * 英文名/拼音
     */
    @Excel(name = "英文名/拼音", width = 15)
    @ApiModelProperty(value = "英文名/拼音")
    private java.lang.String english;
    /**
     * 备用
     */
    @Excel(name = "备用", width = 15)
    @ApiModelProperty(value = "备用")
    private java.lang.String field1;
    /**
     * 图片路径
     */
    @Excel(name = "图片路径", width = 15)
    @ApiModelProperty(value = "图片路径")
    private java.lang.String photopath;
    /**
     * 身份证路径
     */
    @Excel(name = "身份证路径", width = 15)
    @ApiModelProperty(value = "身份证路径")
    private java.lang.String idpath;
    /**
     * 提交日期
     */
    @Excel(name = "提交日期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "提交日期")
    private java.util.Date submitdate;
    /**
     * 当前状态
     */
    @Excel(name = "当前状态", width = 15, dicCode = "zjstate")
    @Dict(dicCode = "zjstate")
    @ApiModelProperty(value = "当前状态")
    private java.lang.String status;
}
